package com.ruoyi.his.mapper;

import com.ruoyi.his.domain.TMedicalDrugsInventoryRecord;

import java.util.List;

/**
 * 盘点记录Mapper接口
 * 
 * @author ruoyi
 * @date 2021-09-10
 */
public interface TMedicalDrugsInventoryRecordMapper 
{
    /**
     * 查询盘点记录
     * 
     * @param recordid 盘点记录主键
     * @return 盘点记录
     */
    public TMedicalDrugsInventoryRecord selectTMedicalDrugsInventoryRecordByRecordid(Long recordid);

    /**
     * 查询盘点记录列表
     * 
     * @param tMedicalDrugsInventoryRecord 盘点记录
     * @return 盘点记录集合
     */
    public List<TMedicalDrugsInventoryRecord> selectTMedicalDrugsInventoryRecordList(TMedicalDrugsInventoryRecord tMedicalDrugsInventoryRecord);

    /**
     * 新增盘点记录
     * 
     * @param tMedicalDrugsInventoryRecord 盘点记录
     * @return 结果
     */
    public int insertTMedicalDrugsInventoryRecord(TMedicalDrugsInventoryRecord tMedicalDrugsInventoryRecord);

    /**
     * 修改盘点记录
     * 
     * @param tMedicalDrugsInventoryRecord 盘点记录
     * @return 结果
     */
    public int updateTMedicalDrugsInventoryRecord(TMedicalDrugsInventoryRecord tMedicalDrugsInventoryRecord);

    /**
     * 删除盘点记录
     * 
     * @param recordid 盘点记录主键
     * @return 结果
     */
    public int deleteTMedicalDrugsInventoryRecordByRecordid(Long recordid);

    /**
     * 批量删除盘点记录
     * 
     * @param recordids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTMedicalDrugsInventoryRecordByRecordids(Long[] recordids);
}
